home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / man / AddBuffers next >
Text File  |  1995-05-19  |  4KB  |  122 lines

  1.             
  2.  
  3.  
  4.             AddBuffers(V1.3,2.x,3.x in C:)
  5.  
  6.  
  7.  
  8.             NAME 
  9.  
  10.             AddBuffers - Increase the sector cache for system 
  11.         disk drives.
  12.  
  13.             SYNOPSIS
  14.  
  15.             AddBuffers DRIVE BUFFER 
  16.  
  17.             DESCRIPTION
  18.  
  19.             This command increases the number of disk buffers 
  20.         used by the system for disk drive access. By increasing 
  21.         the number of buffers, you can reduce disk access time at 
  22.         the cost of losing memory to the sector cache.
  23.  
  24.             Buffers are areas of reserved Ram. In here 
  25.         information frequently accessed on the device is stored.  
  26.         This means AmigaDos does not have to access the drive so 
  27.         much, thus speeding up the disk operations.
  28.  
  29.             The size of the disk sector depends on the device. 
  30.         For instance, the standard Amiga double density floppy 
  31.         drive has 512 bytes per sector. So, if you add 10 buffers 
  32.         then it will cost you 5120 bytes of memory.  This amount 
  33.         is dynamic.  In other words, the memory is not used until 
  34.         a disk access is made). AddBuffers will only work with
  35.         valid AmigaDos devices. 
  36.  
  37.             The buffers specified are used for a specific drive, 
  38.         and do not affect the performance of the other drives in 
  39.         the system.
  40.  
  41.             If using 1.x Commodore recommends not using more than 
  42.         25-30 buffers with the standard filesystem, because more 
  43.         than this does not improve system performance by much.  
  44.         With the new FastFileSystem (and a hard drive), more 
  45.         buffers may increase performance, so more than 30 may be 
  46.         used to good effect if you have the memory.
  47.  
  48.             Starting with version 1.3 of AddBuffers allows you to 
  49.         set buffers for up to four disk drives with a single 
  50.         command line.
  51.  
  52.             The default number of buffers are 5 for floppy and 30 
  53.         for hard drives.
  54.  
  55.             Those formatting using the Fast File System (2.x and 
  56.         above) will always benefit from more disk buffers. More 
  57.         likely than not, the buffers are allocated during the 
  58.         partitioning, and it is stored in the Rigid Disk Blocks 
  59.         (RDB).
  60.  
  61.             With buffer space more information will be read from 
  62.         the disk into memory, thereby making disk searches and 
  63.         transfers much quicker. So, you are sacrificing memory 
  64.         for programs in exchange for quicker disk access.
  65.  
  66.             For 2.x and 3.x ONLY: You can use this command to 
  67.         find out how many buffers are assigned to a drive. You 
  68.         can also subtract buffers to free up some memory.
  69.  
  70.             For 2.x and 3.x ONLY: You can assign a negative 
  71.         number of buffers. If you do this that number of buffers 
  72.         will be subtracted from the total  assigned to your 
  73.         drive. AmigaDOS will never lower the buffers below 1 
  74.         buffer. The only time you may want to do this is if you 
  75.         are running a huge program that will take every bit of 
  76.         memory you have. This will free up some of your memory.
  77.  
  78.  
  79.      KEYWORDS
  80.  
  81.         DRIVE
  82.             This is the name of the drive you want to buffer. It 
  83.         can be either a floppy drive or a harddrive. Do not 
  84.         assign buffers to RAM. You will slow down your system 
  85.         considerably because all of its information is already 
  86.         stored there. Only valid AmigaDos devices can be assigned
  87.         buffers.
  88.  
  89.         BUFFERS
  90.             The number of 512-byte buffers to add.  15 is how 
  91.         Commodore set up your start-up sequence. This is a decent 
  92.         number but not the best if you have more than enough ram. 
  93.         Commodore set the buffers to 15 because the first Amigas 
  94.         carried only 512k of RAM.  Optimum range is at about 30 
  95.         buffers (15k of ram).  And again at 100 buffers (50k of 
  96.         memory). Number below 30 and above 100 will not do you 
  97.         much good.
  98.  
  99.  
  100.  
  101.  
  102.             EXAMPLE
  103.           1. To add 15 buffers to the sector cache for drive df0 
  104.         do:
  105.  
  106.              AddBuffers DF0: 15
  107.  
  108.           2. To add 10 more buffers to df0:
  109.  
  110.              AddBuffers DF0: 10 
  111.  
  112.  
  113.            For 2.x and 3.x ONLY:
  114.           3. To subtract 10 buffers from df0:
  115.  
  116.              AddBuffers DF0: -10 dh0: -20
  117.  
  118.           4. To Return the numbers of buffers assigned to df0:
  119.  
  120.              AddBuffers DF0:
  121.  
  122.